package cc.rengu.igas.bsps.common.enums;

/**
 * @author Xuegui Cao
 * @date 2020/7/2
 * @description Dubbo服务枚举类（渠道标识，交易类型（交易码），服务名，方法名）
 */
public enum DubboServiceEnum {
    M00MO030("MOMP", "M00MO030", "queryMcListInfoService", "queryMcList", "轮播营销广告查询"),
    M00MO006("MOMP", "M00MO006", "queryMcListInfoService", "queryCouponMcList", "卡券类营销活动列表查询"),
    M00MO021("MOMP", "M00MO021", "queryMcListInfoService", "queryCashierCashbackMcList", "收银员返现营销活动列表查询"),
    M00MO026("MOMP", "M00MO026", "manageMchntMcService", "manageMchntMc", "商户营销活动管理"),
    M00MO027("MOMP", "M00MO027", "manageMchntMcService", "publishMchntMc", "商户营销活动发布"),
    M00MO031("MOMP", "M00MO031", "manageMchntMcService", "mchntQueryMcDetailInfo", "商户查询营销活动详情"),
    M00MO028("MOMP", "M00MO028", "manageMchntMcService", "mchntJoinJointMc", "商户参与联和营销活动"),
    M00MO029("MOMP", "M00MO029", "manageMchntMcService", "manageCashierAccount", "收银员收款账号配置"),
    M00MO033("MOMP", "M00MO033", "manageMchntMcService", "cashierJoinCashierCashback", "收银员参与收银员返现活动"),
    T00MO011("MOMP", "T00MO011", "manageMchntMcService", "queryCashierCashbackDetail", "收银员返现明细查询"),
    M00MO002("MOMP", "M00MO002", "queryMcDetailInfoService", "queryMoneyOffMcDetailInfo", "减免类活动详情查询"),
    M00MO007("MOMP", "M00MO007", "queryMcDetailInfoService", "queryCouponMcDetailInfo", "卡券类活动详情查询"),
    M00MO022("MOMP", "M00MO022", "queryMcDetailInfoService", "queryCashierCashbackMcDetailInfo", "收银员返现类活动详情查询"),
    T00MO001("MOMP", "T00MO001", "couponManagementService", "queryCouponDetail", "卡券信息查询"),
    T00MO009("MOMP", "T00MO009", "queryStatisService", "queryMchntToClientMcStat", "商户对客类营销活动统计报表"),

    ;

    private String chanlId;//渠道标识

    private String txnNum;//交易类型（交易码）

    private String serverName;//服务名

    private String methodName;//方法名

    private String description;//描述

    DubboServiceEnum(String chanlId, String txnNum, String serverName, String methodName, String description) {
        this.chanlId = chanlId;
        this.txnNum = txnNum;
        this.serverName = serverName;
        this.methodName = methodName;
        this.description = description;
    }

    //region get&set
    public String getServerName() {
        return serverName;
    }

    public void setServerName(String serverName) {
        this.serverName = serverName;
    }

    public String getMethodName() {
        return methodName;
    }

    public void setMethodName(String methodName) {
        this.methodName = methodName;
    }

    public String getTxnNum() {
        return txnNum;
    }

    public String getChanlId() {
        return chanlId;
    }

    public void setChanlId(String chanlId) {
        this.chanlId = chanlId;
    }

    public void setTxnNum(String txnNum) {
        this.txnNum = txnNum;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }
    //endregion

}
